package com.fm.openinstall.d;

public class a implements Cloneable
{
    private final h a;
    private final f b;

    public a(final f b, final h a) {
        this.a = a;
        this.b = b;
    }

    public a(final h h) {
        this(null, h);
    }

    public h a() {
        return this.a;
    }

    public void a(final byte[] array) {
        final f b = this.b;
        if (b != null) {
            b.a(array);
            return;
        }
        this.a.a(array);
    }

    public f b() {
        return this.b;
    }

    public byte[] c() {
        final f b = this.b;
        if (b != null) {
            return b.d();
        }
        return this.a.g;
    }

    public a d() {
        final f b = this.b;
        f f;
        if (b == null) {
            f = null;
        }
        else {
            f = b.f();
        }
        return new a(f, this.a.b());
    }
}
